package com.xiaoq.mongotest;

import org.mongodb.morphia.annotations.Entity;

import com.xiaoq.MongoEntity;

@Entity("test_comment")
public class CommentEntity extends MongoEntity {
	private String userId;
	private String userName;
	private String userNickName;
	private String userLogo;
	private String orderItemId;
	private String orderItemDesc;
	private String content;
	
	
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserNickName() {
		return userNickName;
	}
	public void setUserNickName(String userNickName) {
		this.userNickName = userNickName;
	}
	public String getUserLogo() {
		return userLogo;
	}
	public void setUserLogo(String userLogo) {
		this.userLogo = userLogo;
	}
	public String getOrderItemId() {
		return orderItemId;
	}
	public void setOrderItemId(String orderItemId) {
		this.orderItemId = orderItemId;
	}
	public String getOrderItemDesc() {
		return orderItemDesc;
	}
	public void setOrderItemDesc(String orderItemDesc) {
		this.orderItemDesc = orderItemDesc;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public CommentEntity() {}
	public CommentEntity(String userId, String userName, String userNickName, String userLogo, String orderItemId,
			String orderItemDesc, String content) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userNickName = userNickName;
		this.userLogo = userLogo;
		this.orderItemId = orderItemId;
		this.orderItemDesc = orderItemDesc;
		this.content = content;
	}
}
